eFAWATEERcom BANK API icon

eFAWATEERcom BANK API

(0 reviews)

Get Token

URLs :

Description : This service allows the channel or Bank to get new token from efawateercom.

Mulesoft Request:

Mandatory Headers: client_id, x-coorelation-id, Authorization

Optional Headers: client_secret, x-channel-id, x-client-trace-id, x-bank-id,x-sub-channel-id, x-user-id, x-debug-flag, x-customer-id

Request Body: application/json

Field NameTypeLengthOccurrenceDescription
NA

Mulesoft Response:

Success Response: (200)

Response Body: application/json

Field NameTypeLengthOccurrenceDescriptionValidation
statusObjectM
successBooleanMtrue false
codeString10MError Code“0” incase of success or Error Code
arabicMessageString200MEnglish message translated to Arabicتمت العملية بنجاح in case of success or arabic translated error in case of known errors
englishMessageString200MDescription about the processing“The Operation has been Successfully Completed” Or error Description
End of status
responseObjectOExists if success = true
tokenDetailsObjectM
tokenStringM
expiryDateStringM
End tokenDetails
End of Response
{
    "status": {
        "success": true,
        "code": "200",
        "arabicMessage": "تمت العملية بنجاح",
        "englishMessage": "The Operation has been Successfully Completed"
    },
    "response": {
        "tokenDetails": {
            "token": "57E87EEFBCFE70E3F9B3C46780739AE0D5506BBE753F59D10736F4FD8C76D90544",
            "expiryDate": "2023-09-13T15:35:10"
        }
    }
}

Sample Error Response:

Error codes :

400:

content-type: JSON

{
    "status": {
        "success": false,
        "code": 400,
        "reasonCode": "BadRequest",
        "arabicMessage": "",
        "englishMessage": ""
    }
}

Reviews